﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessLayer.Interfaces;
using DataLayer.EF;
using BusinessLayer.Clases_BO;
using EntityLayer;

namespace BusinessLayer.Implementacion
{
    public class FacadeContactoActualizar : IFacadeContactoActualizar
    {
        public List<T_Cliente> ListarCliente(long? nu_ruc)
        {
            return new clsT_ClienteBO().Listar(nu_ruc);
        }
        public List<T_Contacto> ListarContacto(int? co_contacto)
        {
            return new clsT_ContactoBO().Listar(co_contacto);
        }
        public bool ModificarContacto(T_Contacto obj)
        {
            return new clsT_ContactoBO().Modificar(obj);
        }
        public bool InsertarContacto(T_Contacto obj)
        {
            return new clsT_ContactoBO().Insertar(obj);
        }
        public int? ObtenerUltimoIDContacto()
        {
            return new clsT_ContactoBO().ObtenerUltimoIDContacto();
        }
    }
}
